from abc import ABC, abstractmethod

# 定义一个Notice基类
class NoticeBase(ABC):
    @abstractmethod
    def send(self, msg):
        pass

    @abstractmethod
    def gen_sign(timestamp, secret):
        pass